<template>
  <div id="app">
    <router-view/>
  </div>
</template>

// <script>
// export default {
//   mounted(){
//     let token = this.$cookie.get("userId")
//     if(!token){
//       this.$router.push('/login')
//       ("您还没有登录，请先登录")
//     }
//   }
// }
// </script>

<style lang="scss">
#app {
  font-family: PingFang SC, Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  width: 100%;
}
.container{
  width: 1226px;
  min-width: 1226px;
  margin: 0 auto;
}
.hr{
    display: inline-block;
    box-sizing: border-box;
    width: 1px;
    height: 12px;
    background: #999;
    margin: 0 10px;
    position: relative;
    top: 3px;
}
button{
  background: #FF6600;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 3px;
}
input,textarea,select{
  text-align: left;
  outline: none;
  border: 1px solid #E5E5E5;
}
.flex-space-bet{
  display: flex;
  justify-content: space-between;
}
.red{
  color: #ff6700;
}
.iconfont{
  cursor: pointer;
}
</style>
